package erfgame.core.graphics.renderer;

public class AnimationFrame {
	private int duration;

	@SuppressWarnings("unchecked")
	private EntityRenderer renderer;
	
	@SuppressWarnings("unchecked")
	public AnimationFrame( int duration, EntityRenderer renderer ) {
		this.duration = duration;
		this.renderer = renderer;
	}
	
	public int getDuration() {
		return this.duration;
	}
	
	@SuppressWarnings("unchecked")
	public EntityRenderer getRenderer() {
		return this.renderer;
	}
}
